package com.spring.cloud.test.service.impl;

import com.spring.cloud.test.provider.SchedualServiceHi;
import com.spring.cloud.test.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author zql
 * @date 2018/5/17 14:50
 */
@Service
public class HelloServiceImpl implements HelloService {


    @Autowired
    private SchedualServiceHi schedualServiceHi;

    @Override
    public String hiService(String name) {
        return schedualServiceHi.sayHiFromClientOne(name);
    }
}
